package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户认证审核对象 user_authentication
 * 
 * @author ruoyi
 * @date 2024-08-15
 */
public class UserAuthentication extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 认证唯一标识符 */
    private Long authId;

    /** 关联用户表的用户编号
 */
    @Excel(name = "关联用户表的用户编号 ")
    private Long userId;

    /** 认证申请状态 */
    @Excel(name = "认证申请状态")
    private String status;

    /** 审核人员编号
 */
    @Excel(name = "审核人员编号 ")
    private Long reviewedBy;

    /** 认证审核日期
 */
    @Excel(name = "认证审核日期 ")
    private String reviewDate;

    /** 认证申请时间
 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "认证申请时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 认证更新时间
 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "认证更新时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setAuthId(Long authId) 
    {
        this.authId = authId;
    }

    public Long getAuthId() 
    {
        return authId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setReviewedBy(Long reviewedBy) 
    {
        this.reviewedBy = reviewedBy;
    }

    public Long getReviewedBy() 
    {
        return reviewedBy;
    }
    public void setReviewDate(String reviewDate) 
    {
        this.reviewDate = reviewDate;
    }

    public String getReviewDate() 
    {
        return reviewDate;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("authId", getAuthId())
            .append("userId", getUserId())
            .append("status", getStatus())
            .append("reviewedBy", getReviewedBy())
            .append("reviewDate", getReviewDate())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
